<%@ page language="java" import="java.util.*,com.mlqsknow.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="/WEB-INF/tlds/messageTag.tld" prefix="msg"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>登  录</title>

	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="renderer" content="webkit">
	<meta name="description" content="登录页">
	<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0">
	<script type="text/javascript">
	var chk_userlanguage = function() {
	    /* get browser default lang */    
	    if (navigator.userLanguage) {    
	        baseLang = navigator.userLanguage.substring(0,2).toLowerCase();    
	    } else {    
	        baseLang = navigator.language.substring(0,2).toLowerCase();    
	    }    
	    /* language match */   
	    switch(baseLang)    
	    {    
	        case "zh":    
	            /* 中文 */   
	            return 'zh';  
	            break;    
	        default:  return 'en';  
	            /* default no match */ 
	    }    
	};
	var weblanguage=chk_userlanguage();
	location.href="${pageContext.request.contextPath}/loginpage.do?language="+weblanguage;
	</script>
  </head>
  
  <body>
  </body>
</html>
